from utilize import this_year

GENDER_CHOICES = (
    ('w', '女'),
    ('m', '男')
)
COMMISSION_CHOICES = (
    ('00', '暂无'),
    ('01', '销量'),
    ('02', '毛利')
)
STORE_TYPE_CHOICES = (
    ('retail', '零售店'),
    ('wholesaler', '批发商'),
    ('online', '网店'),
    ('factory', '工厂'),
    ('company', '企业')
)
STORE_STATE_CHOICES = (
    ('00', '经营良好'),
    ('01', '暂停营业'),
    ('02', '永久关闭')
)
STORE_BELONG = (
    ('00', '自有'),
    ('01', '其他'),
)
MEMBERSHIP = (
    ('cy', '春芽'),
    ('xh', '夏花'),
    ('qs', '秋实'),
    ('dz', '冬枝')
)
SIZE_CHOICES = (
    ('fz', '均码'),  # free size
    ('xs', 'XS码'),
    ('s', 'S码'),
    ('m', 'M码'),
    ('l', 'L码'),
    ('xl', 'XL码'),
    ('xxl', '2XL码'),
    ('xxxl', '3XL码'),
)
year_list = []
for year in range(2015, this_year + 1):
    year_list.append(
        (str(year), '{0}年'.format(str(year)))
    )
YEAR_LIST = tuple(year_list)
SEASON_LIST = (
    ('spring', '春季'),
    ('summer', '夏季'),
    ('autumn', '秋季'),
    ('winter', '冬季')
)
CLOTHING_LENGTH = (
    ('00', '短款'),
    ('01', '中长'),
    ('02', '长款')
)
DELIVER = (
    ('00', '待付款'),
    ('01', '待发货'),
    ('02', '待收货'),
    ('03', '待评价'),
    ('04', '待追评'),
)
COMMENT_RANK = (
    ('00', '差'),
    ('01', '较差'),
    ('02', '一般'),
    ('03', '较好'),
    ('04', '好')
)
REFUND = (
    ('00', 'pending'),  # 处理中
    ('01', 'adopt'),  # 同意
    ('02', 'reject'),  # 拒绝
)
TO_THE_ACCOUNT = (
    ('00', '未到账'),
    ('01', '到账'),
)
MULTIMEDIA = (
    ('00', '本地图片'),
    ('01', '网络图片'),
    ('02', '本地视频'),
    ('03', '网络视频'),
)
USER_TYPE = (
    ('00', '系统管理员'),
    ('01', '店员'),
    ('02', '顾客'),
)
LabelTarget = (
    ('good', '商品'),
    ('customer', '顾客'),
)
EXPENSE_TYPE = (
    ('00', '房租'),
    ('01', '工资'),
    ('02', '水电'),
    ('03', '装修'),
    ('04', '差旅'),
    ('05', '其他'),
)

GroupChoices = {
    'group0': (
        ('store_value_0', 'display_value_0'),  # 上装下装
        ('store_value_1', 'display_value_1'),  # 紧身宽松
        ('store_value_2', 'display_value_2'),  # 日系港风韩范欧美中国风简约大众百搭
    ),
    'group1':(
        ('store_value_3', 'display_value_3'),
    )
}
